import request from '@/utils/request'

// 查询项目团队成员列表
export function listAllBizProjectTeam(query) {
  return request({
    url: '/biz/bizProjectTeam/listAll',
    method: 'get',
    params: query
  })
}

// 查询项目团队成员详细
export function getBizProjectTeam(id) {
  return request({
    url: '/biz/bizProjectTeam/' + id,
    method: 'get'
  })
}

// 新增项目团队成员
export function addBizProjectTeam(data) {
  return request({
    url: '/biz/bizProjectTeam',
    method: 'post',
    data: data
  })
}

// 修改项目团队成员
export function updateBizProjectTeam(data) {
  return request({
    url: '/biz/bizProjectTeam',
    method: 'put',
    data: data
  })
}

// 删除项目团队成员
export function delBizProjectTeam(id) {
  return request({
    url: '/biz/bizProjectTeam/' + id,
    method: 'delete'
  })
}
